package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseCompanyOffice is a Querydsl bean type
 */
@Label("BaseCompanyOffice")
public class EBaseCompanyOffice extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13150257100158L;    
    @Label("baseCompanyId")
    @Size(max=24)
    private String baseCompanyId;

    @Label("belongCompany")
    @Size(max=500)
    private String belongCompany;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    public String getBaseCompanyId() {
        return baseCompanyId;
    }

    public void setBaseCompanyId(String baseCompanyId) {
        this.baseCompanyId = baseCompanyId;
    }

    public String getBelongCompany() {
        return belongCompany;
    }

    public void setBelongCompany(String belongCompany) {
        this.belongCompany = belongCompany;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String toString() {
         return String.format("EBaseCompanyOffice { baseCompanyId : %s,belongCompany : %s,id : %s }",baseCompanyId,belongCompany,id);
    }

}

